﻿using System;
using System.Collections.Generic;

namespace Pap.Services.Vactions
{
    /// <summary>
    /// 
    /// </summary>
    public interface IVacationService
    {
        /// <summary>
        /// Inserts the vacation date.
        /// </summary>
        /// <param name="vacationDate">The vacation date.</param>
        void InsertVacationDate(DateTime vacationDate);
        /// <summary>
        /// Gets the vacations by month.
        /// </summary>
        /// <param name="monthNumber">The month number.</param>
        /// <returns></returns>
        IEnumerable<DateTime> GetVacationsByMonth(int monthNumber);
        /// <summary>
        /// Deletes the vacation.
        /// </summary>
        /// <param name="vacationDate">The vacation date.</param>
        void DeleteVacation(DateTime vacationDate);
        /// <summary>
        /// Gets the allvacation days.
        /// </summary>
        /// <param name="startDate">The start date.</param>
        /// <param name="endDate">The end date.</param>
        /// <returns></returns>
        int getAllvacationDays(DateTime startDate, DateTime endDate);
    }
}
